#!/usr/bin/env node

const chalk=require('chalk');
var Circle=require('./04-export-object.js');


var c=new Circle(10);
console.log("直径：",chalk.green(c.diameter));//不是函数调用c.diameter()
console.log("面积：",chalk.green(c.area));
console.log("周长：",chalk.green(c.circumference));

console.log('\n')
var d=new Circle(10);
console.log(`circle diameter:${d.diameter}`)
console.log(`circle area:${d.area}`);
console.log(`circle circumference:${d.circumference}`)

